package com.yxinsur.imc.business.events.event;

import com.yxinsur.imc.business.dto.OrderCustomerDto;
import org.springframework.context.ApplicationEvent;

public class OrderCustomerEvent extends ApplicationEvent {

    private String msg;

    private OrderCustomerDto customerDto;

    public OrderCustomerEvent(Object source, String msg, OrderCustomerDto customerDto) {
        super(source);
        this.msg=msg;
        this.customerDto=customerDto;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public OrderCustomerDto getCustomerDto() {
        return customerDto;
    }

    public void setCustomerDto(OrderCustomerDto customerDto) {
        this.customerDto = customerDto;
    }
}
